aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authordima2011-12-10 17:21:59 +0100
committerdima2011-12-10 17:21:59 +0100
commit932790890a583cf877ef06a218316b82a7014b60 (patch)
treeaa037487e22d6a2c5fa35cce705ee9277f6b200b /app/views
parent58ebf1bc9762a4fc05ecae776253560026b5b030 (diff)
downloadinboxes-932790890a583cf877ef06a218316b82a7014b60.tar.bz2
fix readme and remove whitespacetrailing
Diffstat (limited to 'app/views')
-rw-r--r--app/views/inboxes/discussions/_form.html.haml2
-rw-r--r--app/views/inboxes/discussions/index.html.haml2
-rw-r--r--app/views/inboxes/discussions/show.html.haml6
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/inboxes/discussions/_form.html.haml b/app/views/inboxes/discussions/_form.html.haml
index 303f0bb..800004b 100644
--- a/app/views/inboxes/discussions/_form.html.haml
+++ b/app/views/inboxes/discussions/_form.html.haml
@@ -8,5 +8,5 @@
= j.label :body
%br
= j.text_area :body
-
+
%p= f.submit \ No newline at end of file
diff --git a/app/views/inboxes/discussions/index.html.haml b/app/views/inboxes/discussions/index.html.haml
index 86ae297..7e300d4 100644
--- a/app/views/inboxes/discussions/index.html.haml
+++ b/app/views/inboxes/discussions/index.html.haml
@@ -12,6 +12,6 @@
= link_to discussion.users.collect{|u| u[Inboxes::config.user_name]}.join(', '), discussion
%td
= discussion.unread_for?(current_user) ? "Yes" : "No"
-
+
%p
= link_to "Create new", new_discussion_path \ No newline at end of file
diff --git a/app/views/inboxes/discussions/show.html.haml b/app/views/inboxes/discussions/show.html.haml
index a910b51..50f5d19 100644
--- a/app/views/inboxes/discussions/show.html.haml
+++ b/app/views/inboxes/discussions/show.html.haml
@@ -16,13 +16,13 @@
= f.label :user_id, "Add speaker"
= f.collection_select :user_id, available_users, :id, :name
= f.submit "Add"
-
-
+
+
%h3 Messages
#messages_box
= render @discussion.messages, :as => :message
-
+
%h3 Add message
= render "inboxes/messages/form"