Add reroute middleware hack
This commit is contained in:
1 parent
9f1ba2ae66
commit
314f6d5219
14 files changed
+65
-47
No files matched your search
@@ -1,3 +1,5 @@
|
||||
<%= f.hidden_field :entry_name %>
|
||||
|
||||
<p id="title_zh_tw_block">
|
||||
<%= f.label "title_zh_tw", "Title (zh_tw)" %>
|
||||
<%= f.text_field "title_zh_tw" %>
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
<br />
|
||||
|
||||
<%= link_to 'New announcement', new_admin_announcement_path %>
|
||||
<%= link_to 'New announcement', new_admin_announcement_path( :entry_name => params[:entry_name] ) %>
|
||||
@@ -42,8 +42,8 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label :is_component, "Is component" %>
|
||||
<%= f.radio_button :is_component, true %>Yes <%= f.radio_button :is_component, false %> No
|
||||
<%= f.label :component_name, "Component Name" %>
|
||||
<%= f.text_field :component_name %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user