app/views/admin/installers/form.html.erb in camaleon_cms-0.1.4 vs app/views/admin/installers/form.html.erb in camaleon_cms-0.1.5
- old
+ new
@@ -1,17 +1,17 @@
<%= form_for @site, url: save_admin_installers_path, html: {class: 'form-horizontal', style: "color: #ccc;"} do |f| %>
<%= render partial: 'layouts/admin/form_error', locals: {data: @site} %>
<div class="form-group">
- <label>Domain</label><br>
+ <%= f.label t('admin.button.domain') %><br>
<%= f.text_field :slug, :class => "form-control required" %>
</div>
<div class="form-group">
<%= f.label t('admin.table.name') %><br>
<%= f.text_field :name, :class => "form-control required" %>
</div>
<div class="form-group">
- <label>Theme</label><br>
+ <%= f.label t('admin.post_type.template') %><br>
<%= select_tag :theme, options_for_select(PluginRoutes.all_themes.map{|theme| [theme["name"], theme["key"]] }), :class => "form-control required" %>
</div>
<div class="form-group">
<button class="btn btn-primary pull-right" type="submit"><%= t('admin.button.submit') %></button>
</div>
\ No newline at end of file