summaryrefslogtreecommitdiff
path: root/app/views/events/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/new.html.erb')
-rw-r--r--app/views/events/new.html.erb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/events/new.html.erb b/app/views/events/new.html.erb
index cd892c5d..4e1ef53e 100644
--- a/app/views/events/new.html.erb
+++ b/app/views/events/new.html.erb
@@ -16,8 +16,8 @@
16 <%= f.text_field :rrule %> 16 <%= f.text_field :rrule %>
17 </p> 17 </p>
18 <p> 18 <p>
19 <%= f.label :custom_rrule %><br /> 19 <%= f.label :tag_list, "Tags" %><br />
20 <%= f.check_box :custom_rrule %> 20 <%= f.text_field :tag_list %>
21 </p> 21 </p>
22 <p> 22 <p>
23 <%= f.label :allday %><br /> 23 <%= f.label :allday %><br />
@@ -37,10 +37,11 @@
37 </p> 37 </p>
38 <p> 38 <p>
39 <%= f.hidden_field :node_id %> 39 <%= f.hidden_field :node_id %>
40 <%= hidden_field_tag :return_to, params[:return_to] %>
40 </p> 41 </p>
41 <p> 42 <p>
42 <%= f.submit 'Create' %> 43 <%= f.submit 'Create' %>
43 </p> 44 </p>
44<% end %> 45<% end %>
45 46
46<%= link_to 'Back', events_path %> 47<%= link_to 'Back', safe_return_to(params[:return_to] || events_path) %>