Permalink
Browse files

Minor fix to Admin Form, when adding links to an Entity

  • Loading branch information...
1 parent df98e38 commit 28a6e71dd6f944a4be88e19e90138c52d0951c44 @andey committed Jan 28, 2013
@@ -3,6 +3,16 @@
<h1><%= @entity.name %></h1>
<p>
+ <b>Created at:</b>
+ <%= @entity.created_at %>
+ </p>
+
+ <p>
+ <b>Updated at:</b>
+ <%= @entity.updated_at %>
+ </p>
+
+ <p>
<b>Avatar:</b>
<%= @entity.avatar %>
</p>
@@ -15,11 +15,6 @@
<% end %>
<div class="field">
- <%= f.label :title %>
- <br/>
- <%= f.text_field :title %>
- </div>
- <div class="field">
<%= f.label :link %>
<br/>
<%= f.text_field :link %>
@@ -15,20 +15,10 @@
<% end %>
<div class="field">
- <%= f.label :title %>
- <br/>
- <%= f.text_field :title %>
- </div>
- <div class="field">
<%= f.label :link %>
<br/>
<%= f.text_field :link %>
</div>
- <div class="field">
- <%= f.label :entities_links_icon_id %>
- <br/>
- <%= collection_select(:entities_link, :entities_links_icon_id, EntitiesLinksIcon.all, :id, :name) %>
- </div>
<div class="actions">
<%= f.submit %>
</div>

0 comments on commit 28a6e71

Please sign in to comment.