Remove files which should be deleted in previous commit
This commit is contained in:
1 parent
2f9dcf7791
commit
8a4cffae8f
100 files changed
-5991
No files matched your search
@@ -1,32 +0,0 @@
|
||||
<%= f.error_messages %>
|
||||
<%= f.hidden_field :parent_name %>
|
||||
|
||||
<p>
|
||||
<%= f.label :name, "Name" %>
|
||||
<%= f.text_field :name, :class => 'text' %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label :title, "Title en" %>
|
||||
<%= f.text_field :title_en, :class => 'text' %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label :layout_name, "Layout Name" %>
|
||||
<%= f.select :layout_name, Layout.all.map{ |l| [l.description, l.name] } %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label :title, "Title zh_tw" %>
|
||||
<%= f.text_field :title_zh_tw, :class => 'text' %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label :is_published, "Is Published" %>
|
||||
<%= f.radio_button :is_published, true %>Yes <%= f.radio_button :is_published, false %> No
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label :engine_name, "Choose Engine" %>
|
||||
<%= f.text_field :engine_name %>
|
||||
</p>
|
||||
@@ -1,10 +0,0 @@
|
||||
<h1>Editing pages</h1>
|
||||
|
||||
<% form_for @component, :url => admin_component_path(@component) do |f| %>
|
||||
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
|
||||
<p>
|
||||
<%= f.submit 'Update' %>
|
||||
</p>
|
||||
<% end %>
|
||||
@@ -1,11 +0,0 @@
|
||||
<h1><%= t(:new_component, :scope => :admin) %></h1>
|
||||
|
||||
<% form_for @component, :url => admin_components_path do |f| %>
|
||||
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
|
||||
<p>
|
||||
<%= f.submit 'Create' %>
|
||||
</p>
|
||||
|
||||
<% end %>
|
||||
@@ -1,44 +0,0 @@
|
||||
<%= 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" %>
|
||||
</p>
|
||||
|
||||
<p><a href="#" id="toggle_title_en_block">Edit english</a></p>
|
||||
|
||||
<p id="title_en_block">
|
||||
<%= f.label "title_en", "Title (en)" %>
|
||||
<%= f.text_field "title_en" %>
|
||||
</p>
|
||||
|
||||
<% content_for :page_specific_javascript do %>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$('#title_en_block').hide();
|
||||
$('#toggle_title_en_block').click(function(){
|
||||
$('#title_en_block').toggle();
|
||||
});
|
||||
</script>
|
||||
<% end -%>
|
||||
|
||||
|
||||
<p id="content_zh_tw_block">
|
||||
<%= f.label "content_zh_tw", "Content (zh_tw)" %>
|
||||
<%= f.text_area "content_zh_tw", :size => '100x30' %>
|
||||
</p>
|
||||
|
||||
<p><a href="#" id="toggle_content_en_block">Edit english</a></p>
|
||||
|
||||
<p id="content_en_block">
|
||||
<%= f.label "content_en", "Content (en)" %>
|
||||
<%= f.text_area "content_en", :size => '100x30' %>
|
||||
</p>
|
||||
|
||||
<% content_for :page_specific_javascript do %>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$('#content_en_block').hide();
|
||||
$('#toggle_content_en_block').click(function(){
|
||||
$('#content_en_block').toggle();
|
||||
});
|
||||
</script>
|
||||
<% end -%>
|
||||
@@ -1,14 +0,0 @@
|
||||
<h1>Editing announcement</h1>
|
||||
|
||||
<% form_for @announcement, :url => panel_announcement_path(@announcement) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
|
||||
<p>
|
||||
<%= f.submit 'Update' %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= link_to 'Show', @announcement %> |
|
||||
<%= link_to 'Back', panel_announcements_path %>
|
||||
@@ -1,21 +0,0 @@
|
||||
<h1>Listing announcements</h1>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
|
||||
<% @announcements.each do |announcement| %>
|
||||
<tr>
|
||||
<td><%=h announcement.title %></td>
|
||||
<td><%= link_to 'Show', announcement_path(announcement) %> |
|
||||
<%= link_to 'Edit', edit_panel_announcement_path(announcement) %> |
|
||||
<%= link_to 'Destroy', panel_announcement_path(announcement), :confirm => 'Are you sure?', :method => :delete %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
|
||||
<%= link_to 'New announcement', new_panel_announcement_path( :entry_name => params[:entry_name] ) %>
|
||||
@@ -1,13 +0,0 @@
|
||||
<h1>New announcement</h1>
|
||||
|
||||
<% form_for @announcement, :url => panel_announcements_path do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
|
||||
<p>
|
||||
<%= f.submit 'Create' %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= link_to 'Back', panel_announcements_path %>
|
||||
Reference in new issue
Block a user