Sha256: fcf94e4dbf4d7635043b9733842ea774ace31fcdd1a8da815deb40b3d705f164

Contents?: true

Size: 1.24 KB

Versions: 12

Compression:

Stored size: 1.24 KB

Contents

<% provide(:page_title, "Nueva") %>
<% breadcrumb_add('Secciones', sections_path) %>
<div class="row-fluid">
  <div class = "widget widget-padding span12">
    <div class = "widget-header"><i class = "icon-tasks"></i><h5>Sección</h5></div>
    <div class = "widget-body">
      <div class = "widget-forms clearfix">
        <%= custom_form_for(@section, :url => sections_path) do |f| %>
          <%= render 'shared/error_messages', :object => @section %>
          <%= f.text_field :name, :label => "Nombre", :placeholder => "Nombre de la seccion" %>
          <%= f.text_field :key, :label => "Identificador", :placeholder => "Identificador" %>
          <div class="control-group">
            <label class="control-label">Descripción</label>
            <div class="controls">
              <%= f.cktext_area :description, :label => t("Description") %>
            </div>
          </div>
          <%= f.radio_button_group :has_image, ['1', '0'], :label => "Tiene Imagen" %>
          <%= f.radio_button_group :has_description, ['1', '0'], :label => "Tiene Descripcion" %>
      </div>
    </div>
    <div class = "widget-footer">
      <%= f.submit "Agregar", :disable_with => 'Submiting...' %>
    </div>
      <% end -%>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
adminpanel-0.1.1 app/views/adminpanel/sections/new.html.erb
adminpanel-0.1.0cl.2 app/views/adminpanel/sections/new.html.erb
adminpanel-0.1.0cl app/views/adminpanel/sections/new.html.erb
adminpanel-0.1.0 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.7 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.6.1 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.6 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.5 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.4 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.3 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.2 app/views/adminpanel/sections/new.html.erb
adminpanel-0.0.1 app/views/adminpanel/sections/new.html.erb